package com.desitek.thunder.webapp.action;

import com.desitek.thunder.model.Category;

public class CategoryAction extends BaseAction {

	private Category Category = new Category();
	private String cancel;

	public String execute() {
		return INPUT;
	}

	public String createProduct() {
		System.out.println("creating product");
		System.out.println(Category.getCategoryName());
		return SUCCESS;
	}

	public Category getCategory() {
		return Category;
	}

	public void setCategory(Category Category) {
		this.Category = Category;
	}

	public void setCancel(String cancel) {
		this.cancel = cancel;
	}

}
